package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单位专家关联对象 dept_zhuanjia
 * 
 * @author ruoyi
 * @date 2022-12-08
 */
public class DeptZhuanjia extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 专家ID */
    @Excel(name = "专家ID")
    private String zhuanjiaid;

    /** 单位ID */
    @Excel(name = "单位ID")
    private String deptid;

    /** 姓名 */
    @Excel(name = "姓名")
    private String xingming;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String danweimingcheng;

    /** 变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "变更时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date biangengshijian;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private Long isvalid;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setZhuanjiaid(String zhuanjiaid) 
    {
        this.zhuanjiaid = zhuanjiaid;
    }

    public String getZhuanjiaid() 
    {
        return zhuanjiaid;
    }
    public void setDeptid(String deptid) 
    {
        this.deptid = deptid;
    }

    public String getDeptid() 
    {
        return deptid;
    }
    public void setXingming(String xingming) 
    {
        this.xingming = xingming;
    }

    public String getXingming() 
    {
        return xingming;
    }
    public void setDanweimingcheng(String danweimingcheng) 
    {
        this.danweimingcheng = danweimingcheng;
    }

    public String getDanweimingcheng() 
    {
        return danweimingcheng;
    }
    public void setBiangengshijian(Date biangengshijian) 
    {
        this.biangengshijian = biangengshijian;
    }

    public Date getBiangengshijian() 
    {
        return biangengshijian;
    }
    public void setIsvalid(Long isvalid) 
    {
        this.isvalid = isvalid;
    }

    public Long getIsvalid() 
    {
        return isvalid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("zhuanjiaid", getZhuanjiaid())
            .append("deptid", getDeptid())
            .append("xingming", getXingming())
            .append("danweimingcheng", getDanweimingcheng())
            .append("biangengshijian", getBiangengshijian())
            .append("isvalid", getIsvalid())
            .toString();
    }
}
